package util.src.com;

import java.io.File;

/**
 * @Author: Gosin
 * @Date: 2020/10/29 21:29
 */
public class CreatFile {
    public String m3u8Path;
    public String tsPath;

    public CreatFile(String m3u8Path, String tsPath) {
        this.m3u8Path = m3u8Path;
        this.tsPath = tsPath;
    }

    public void mkFiles() {
        File file = new File(m3u8Path);
        if (!file.exists()) {
            file.mkdir();//创建文件夹
        }
        File file1 = new File(tsPath);
        if (!file1.exists()) {
            file1.mkdir();//创建文件夹
        }
    }

}

